﻿@model List<HQPad.Models.QualityItem>

<div class="quality-summary">
    <h3>@Html.Raw(Model == null || Model.Count == 0 ? "No special qualities" : (Model.Count > 1) ? string.Format("{0} special qualities", Model.Count) : "1 special quality")</h3>
    @if (Model != null && Model.Count > 0)
    {
        <ul>
            @foreach (HQPad.Models.QualityItem item in Model)
            {
                <li>@Html.Raw(item.Description)</li>
            }
        </ul>
    }
</div>
